package sicnu.cs.ich.user.service;

/**
 * @author CaiKe
 * @date 2021/11/30 16:00
 */
public interface IEncryptKey {

    /**
     * 生成AES密钥并转存Redis
     * @return AES密钥
     */
    String generateAESKey();

    /**
     * 生成RSA公钥和私钥
     * @return [公钥、私钥]
     */
    String[] generateRSAKeys();


}
